package com.ld.wms.business.approve.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 物料实例库存审批列表
 * </p>
 *
 * @author wangfeng
 * @since 2025-04-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("material_example_inventory_approve")
@Schema(description="MaterialExampleInventoryApproveModel对象")
public class MaterialExampleInventoryApproveModel implements Serializable {

    private static final long serialVersionUID=1L;

      @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "指定的物料库存id")
    private Long materialExampleInventoryId;

    @Schema(description = "物料实例id")
    private Long materialExampleId;

    @Schema(description = "审批人员")
    private Long approveUserId;

    @Schema(description = "状态：0:待审批，1，审批中，2，审批通过，3审批拒绝，4取消")
    private Integer status;

    @Schema(description = "审批时间")
    private Date approveTime;

    @Schema(description = "创建人id")
    private Long createBy;

    @Schema(description = "创建时间")
    private Date createTime;

    @Schema(description = "更新人")
    private Long updateBy;

    @Schema(description = "更新时间")
    private Date updateTime;


    public static final String ID = "id";

    public static final String MATERIAL_EXAMPLE_INVENTORY_ID = "material_example_inventory_id";

    public static final String MATERIAL_EXAMPLE_ID = "material_example_id";

    public static final String APPROVE_USER_ID = "approve_user_id";

    public static final String STATUS = "status";

    public static final String CREATE_BY = "create_by";

    public static final String CREATE_TIME = "create_time";

    public static final String UPDATE_BY = "update_by";

    public static final String UPDATE_TIME = "update_time";

}
